use error::AppErr;

mod config;
mod error;
mod store;
mod utils;
mod web;

#[actix_web::main]
async fn main() -> Result<(), AppErr> {
    config::init().await?;
    store::init().await?;
    web::init().await?;
    Ok(())
}
